##########################################################################################
# 
# Replication Materials for:
#
# Matthias Mader, Moritz Neubert, Felix Münchow, Stephanie Hofmann, Harald Schoen & Konstantin Gavras
# "Crumbling in the face of cost? 
# How cost considerations affect public support for European security and defence cooperation"
#
# Author: Felix Münchow
# Date: 22.01.2024
# For any questions, please contact: f.muenchow@uni-mannnheim.de
#############################################################################################
# All data were collected by ourselves. We did not obtain data from external sources.
# The replication materials include a reduced and cleaned dataset. 
# Raw data are available upon request. 
############################################################################################
# All analyses were run using:

- R version 4.2.2.
- MacOS version 12.6.6

############################################################################################
# The replication materials include:

- 01_figure1.R
- 02_figure2.R
- 03_figure3.R
- 04_figure4.R
- 05_figure5.R
- 06_figure6.R
- 07_regression_output.R
- 08_appendix.R

#To reproduce the results reported in the article,
1) save all files in one folder
2) open the respective .R file (to reproduce Figure 1, run 01_figure1.R et cetera)
3) define folder with data as the working directory 
4) execute the code. 

############################################################################################

Please note that 07_regression_output.R creates several .doc-files that will be saved in the working directory.
